package com.yangwei.examination.teacher.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "correct_answer_paper_info")
public class CorrectAnswerPaperInfo implements Serializable {
    /**
     * 批卷的详细信息表的主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 题目的类型
     */
    @TableField(value = "question_type")
    private String questionType;

    /**
     * 题目总得分用于统计
     */
    @TableField(value = "sum_score")
    private int sumScore;

    /**
     * 批卷的id
     */
    @TableField(value = "correct_answer_paper_id")
    private Long correctAnswerPaperId;
}